﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<QuizAppMvc2.QuestaoSimplesView>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Delete</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">idQuestao</div>
        <div class="display-field"><%: Model.idQuestao %></div>
        
        <div class="display-label">DataCriacao</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.DataCriacao) %></div>
        
        <div class="display-label">idUsuario</div>
        <div class="display-field"><%: Model.idUsuario %></div>
        
        <div class="display-label">idMateria</div>
        <div class="display-field"><%: Model.idMateria %></div>
        
        <div class="display-label">idTopico</div>
        <div class="display-field"><%: Model.idTopico %></div>
        
        <div class="display-label">idSubTopico</div>
        <div class="display-field"><%: Model.idSubTopico %></div>
        
        <div class="display-label">TipoQuestao</div>
        <div class="display-field"><%: Model.TipoQuestao %></div>
        
        <div class="display-label">Texto</div>
        <div class="display-field"><%: Model.Texto %></div>
        
        <div class="display-label">Gabarito</div>
        <div class="display-field"><%: Model.Gabarito %></div>
        
        <div class="display-label">Nome</div>
        <div class="display-field"><%: Model.Nome %></div>
        
        <div class="display-label">Topico</div>
        <div class="display-field"><%: Model.Topico %></div>
        
        <div class="display-label">Subtopico</div>
        <div class="display-field"><%: Model.Subtopico %></div>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%: Html.ActionLink("Back to List", "Index") %>
        </p>
    <% } %>

</asp:Content>

